 <!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>Whaley Info</title>
        <style type="text/css">
  /** .datagrid-mask-msg {
   		 border-color: #95b8e7;
}
	.datagrid-mask-msg {
   		 background: #ffffff url("../../../Public/assets/img/loading.gif") no-repeat scroll 5px center;
}
	.datagrid-mask-msg {
    	border-style: solid;
    	border-width: 2px;
   		display: none;
    	height: 16px;
    	margin-top: -20px;
    	padding: 7px 5px 10px 30px;
    	position: fixed;
    	top: 50%;
    	width: auto;
    	z-index: 2001;
    	font-size: 12px;
    	font-family: helvetica,tahoma,verdana,sans-serif;
}
  .background {  
    	display: block;  
   		width: 100%;  
    	height: 100%;  
    	opacity: 0.4;  
    	filter: alpha(opacity=40);  
    	background:while;  
    	position: fixed;  
    	top: 0;  
    	left: 0;  
    	z-index: 2000;  
    	background-color:#666666;  
} */
        </style>              
		<meta name="description" content="overview &amp; stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />

		<!--basic styles-->

		<link href="../../../Public/assets/css/bootstrap.min.css" rel="stylesheet" />
		<link href="../../../Public/assets/css/bootstrap-responsive.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../../Public/assets/css/font-awesome.min.css" />
		<link rel="stylesheet" href="../../../Public/assets/css/loading.css" />
		

		<!--[if IE 7]>
		  <link rel="stylesheet" href="../../../Public/assets/css/font-awesome-ie7.min.css" />
		<![endif]-->

		<!--page specific plugin styles-->

		<!--fonts-->

		<!-- <link rel="stylesheet" href="http://fonts.useso.com/css?family=Open+Sans:400,300" /> -->

		<!--ace styles-->

		<link rel="stylesheet" href="../../../Public/assets/css/ace.min.css" />
		<link rel="stylesheet" href="../../../Public/assets/css/ace-responsive.min.css" />
		<link rel="stylesheet" href="../../../Public/assets/css/ace-skins.min.css" />

		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="../../../Public/assets/css/ace-ie.min.css" />
		<![endif]-->

		<!--inline styles related to this page-->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
	<body id="">
	 	<div id="background" class="background" style="display: none; "></div> 
		<div id="datagrid-mask-msg" class="datagrid-mask-msg" style="margin-left: -91.5px; display: none; left: 50%;">正在加载，请稍等...</div>
		<div class="navbar">
			<div class="navbar-inner">
				<div class="container-fluid">
					<a href="#" class="brand">
						<small>
							<i class="icon-leaf"></i>
							Whaley Info  o2o云推广信息技术平台
						</small>
					</a><!--/.brand-->

					<ul class="nav ace-nav pull-right">
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="../../../Public/assets/avatars/user.jpg" alt="Jason's Photo" />
								<span class="user-info">
									<small>Welcome,</small>
									{$user_id}
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
								<li>
									<a href="#">
										<i class="icon-cog"></i>
										Settings
									</a>
								</li>

								<li>
									<a href="#">
										<i class="icon-user"></i>
										Profile
									</a>
								</li>

								<li class="divider"></li>

								<li>
									<a id="logout" href="#">
										<i class="icon-off"></i>
										Logout
									</a>
								</li>
								
								<li>
									<a id="shouPage" href="#">
										<i class="icon-off"></i>
										返回首页
									</a>
								</li>
							</ul>
						</li>
					</ul><!--/.ace-nav-->
				</div><!--/.container-fluid-->
			</div><!--/.navbar-inner-->
		</div>


       <div class="control-group" style="display:none">
             <input type="text"  id="user_id" value="{$user_id}">
             <input type="text"  id="menu_module" value="{$menu_module}">
             <input type="text"  id="menu_url" value="{$menu_url}">
		</div>
		<div class="main-container container-fluid">
			<a class="menu-toggler" id="menu-toggler" href="#">
				<span class="menu-text"></span>
			</a>

			<div class="sidebar" id="sidebar">
				<div class="sidebar-shortcuts" id="sidebar-shortcuts">
					

					<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
						<span class="btn btn-success"></span>

						<span class="btn btn-info"></span>

						<span class="btn btn-warning"></span>

						<span class="btn btn-danger"></span>
					</div>
				</div><!--#sidebar-shortcuts-->

				<ul class="nav nav-list">
					<li>

				<volist name="lst_auth" id="parent_auth"
									empty="您没有任何权限，请联系管理员">
					<li module_id="{$parent_auth.parent_id}" name="menu_groups">
						<a href="#" class="dropdown-toggle">
							<i class="icon-list"></i>
							<span class="menu-text"> {$parent_auth.parent_name} </span>
							<b class="arrow icon-angle-down"></b>
						</a>
						
					  <ul class="submenu">
							<volist name="parent_auth['lst_menu2']" id="menu_detail"
									empty="您没有任何权限，请联系管理员">
							<li>
								<a href="{$menu_detail.menu_url}?menu_module={$parent_auth.parent_id}">
									<i class="icon-double-angle-right"></i>
									{$menu_detail.menu_name}
								</a>
							</li>		
						</volist>
						</ul>


					</li>
									
				</volist>

				</ul><!--/.nav-list-->

				<div class="sidebar-collapse" id="sidebar-collapse">
					<i class="icon-double-angle-left"></i>
				</div>
			</div>
			<block name="main_content"></block>
		</div><!--/.main-container-->

	

		<!--basic scripts-->

		<!--[if !IE]>-->

		<script src="/Public/js/jquery-1.7.2.min.js"></script>

		<!--<![endif]-->

		<!--[if IE]>
<script src="http://ajax.useso.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->

		<!--[if !IE]>-->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='/Public/js/jquery-1.7.2.min.js'>"+"<"+"/script>");
		</script>

		<!--<![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='../../../Public/assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<script type="text/javascript">
			//var ajaxbg = $("#datagrid-mask-msg , #background");
			//	$(document).ajaxStart(function (){
			//		ajaxbg.show();
			//	}).ajaxStop(function () {
			//		ajaxbg.hide();
			//	});
			if("ontouchend" in document) document.write("<script src='../../../Public/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		
		
		<script src="../../../Public/assets/js/bootstrap.min.js"></script>
		<script src="/Public/js/loading.js"></script>

		<!--page specific plugin scripts-->

		<!--[if lte IE 8]>
		  <script src="../../../Public/assets/js/excanvas.min.js"></script>
		<![endif]-->
		<script src="../../../Public/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="../../../Public/assets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="../../../Public/assets/js/jquery.slimscroll.min.js"></script>
		<script src="../../../Public/assets/js/jquery.easy-pie-chart.min.js"></script>
		<script src="../../../Public/assets/js/jquery.sparkline.min.js"></script>
		<script src="../../../Public/assets/js/flot/jquery.flot.min.js"></script>
		<script src="../../../Public/assets/js/flot/jquery.flot.pie.min.js"></script>
		<script src="../../../Public/assets/js/flot/jquery.flot.resize.min.js"></script>
	    <include file="common:server_config" /> 
		<!--ace scripts-->

		<block name="inner_script"></block>
		
		<script type="text/javascript">
		$(document).ready(function(){
			var menu_module = $('#menu_module').val();
			if(menu_module != '' && menu_module != null){
				$.each($('li[name="menu_groups"]'), function(i, menu){
					
					if($(menu).attr('module_id') == menu_module && !$(menu).hasClass('open')){
						//$(menu).find('a').trigger("click");
						//$(menu).trigger("click");
						//$(menu).toggle();
						//$(menu).toggle();
						$(menu).find('.dropdown-toggle').trigger("click");
						//$(menu).find('.dropdown-toggle').toggle(); 
						//console.info($(menu));
					}
					
				});
				
			}
		});
		</script>

		<!--inline scripts related to this page-->

	</body>
	
</html>


 